.star {
    width: 5px;
    height: 5px;
    background-color: aliceblue;
    border: 0.005em black solid;
    border-radius: 50%;
    position: fixed;
    z-index: 9999;
    top: 0%;
    left: 90%;
    transform-origin: bottom right;
}
.star {
    /* 省略之前的样式 */
    animation: shooting-star 2s linear infinite;
}

@keyframes shooting-star {
    from {
        transform: translate(200%, 0) rotate(-45deg); /* 将元素向左下移动并旋转 */
    }
    to {
        transform: translate(-25000%, 25000%) rotate(-45deg);
    }
}